home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / btcrs / setup.bat < prev   
DOS Batch File  |  1995-02-15  |  1KB  |  42 lines

  1. @echo off
  2. cls
  3. echo.
  4. echo   Setup procedure to select appropriate Btrieve file level for
  5. echo                   BTcreate/BTsource
  6. echo                   Copyright 1995 C-Soft, Inc.
  7. echo                   All rights reserved.
  8. echo.
  9. echo.
  10. if %1x == x goto usage
  11. if %1x == 510x goto 510
  12. if %1x == 615x goto 615
  13.  
  14.  
  15. :usage
  16. echo.
  17. echo.
  18. echo.
  19. echo BTcreate and BTsource are shipped with 2 Btrieve files containing
  20. echo DDF layout information and sample files information. These 2 files 
  21. echo are BTSOURCE.DAT and BTSOURCN.DAT. This setup batch file needs to be
  22. echo run with a parameter in order to select which level of Btrieve file will
  23. echo be processed by BTcreate and BTsource. 
  24. echo Use 510 for Btrieve 5x level or 615 for Btrieve 6x level.
  25. echo EXAMPLE: setup 510
  26. echo.
  27. echo The correct files will thus be copied from the shipped set of supporting
  28. echo files (extension .510 or .615 to .DAT).
  29. goto end
  30.  
  31. :510
  32. copy btsource.510 btsource.dat
  33. copy btsourcn.510 btsourcn.dat
  34. goto end
  35.  
  36. :615
  37. copy btsource.615 btsource.dat
  38. copy btsourcn.615 btsourcn.dat
  39.  
  40. :end
  41. echo.
  42. echo.